package com.easonji.core.exception;

/**
 * 封装guns的异常
 *
 * @author liujun
 * @Date 2017/12/28 下午10:32
 */
public class BizException extends RuntimeException {

    private static final long serialVersionUID = 6859398446493380258L;

    private Integer code;

    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
